package com.jy.adscm.operation.hr.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 人力资源-岗位管理
 * </p>
 *
 * @author zyl
 * @since 2020-01-07
 */
public class HrStationManage implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 岗位名称
     */
    private String name;
    /**
     * 岗位说明书
     */
    private String stationDesc;
    /**
     * 岗位录入人
     */
    private String stationDescCreator;
    @TableField(exist = false)
    private String stationDescCreatorName;
    /**
     * 录入时间
     */
    private Date stationDescCreateTime;
    /**
     * 招聘描述
     */
    private String recruitmentDesc;
    /**
     * 招聘描述录入人
     */
    private String recruitmentDescCreator;
    @TableField(exist = false)
    private String recruitmentDescCreatorName;
    /**
     * 招聘说明录入时间
     */
    private Date recruitmentDescCreateTime;
    /**
     * 录入时间
     */
    private Date createTime;
    /**
     * 录入人
     */
    private String creator;
    @TableField(exist = false)
    private String creatorName;

    public String getStationDescCreatorName() {
        return stationDescCreatorName;
    }

    public void setStationDescCreatorName(String stationDescCreatorName) {
        this.stationDescCreatorName = stationDescCreatorName;
    }

    public String getRecruitmentDescCreatorName() {
        return recruitmentDescCreatorName;
    }

    public void setRecruitmentDescCreatorName(String recruitmentDescCreatorName) {
        this.recruitmentDescCreatorName = recruitmentDescCreatorName;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStationDesc() {
        return stationDesc;
    }

    public void setStationDesc(String stationDesc) {
        this.stationDesc = stationDesc;
    }

    public String getStationDescCreator() {
        return stationDescCreator;
    }

    public void setStationDescCreator(String stationDescCreator) {
        this.stationDescCreator = stationDescCreator;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStationDescCreateTime() {
        return stationDescCreateTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStationDescCreateTime(Date stationDescCreateTime) {
        this.stationDescCreateTime = stationDescCreateTime;
    }

    public String getRecruitmentDesc() {
        return recruitmentDesc;
    }

    public void setRecruitmentDesc(String recruitmentDesc) {
        this.recruitmentDesc = recruitmentDesc;
    }

    public String getRecruitmentDescCreator() {
        return recruitmentDescCreator;
    }

    public void setRecruitmentDescCreator(String recruitmentDescCreator) {
        this.recruitmentDescCreator = recruitmentDescCreator;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRecruitmentDescCreateTime() {
        return recruitmentDescCreateTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRecruitmentDescCreateTime(Date recruitmentDescCreateTime) {
        this.recruitmentDescCreateTime = recruitmentDescCreateTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Override
    public String toString() {
        return "HrStationManage{" +
                "id=" + id +
                ", name=" + name +
                ", stationDesc=" + stationDesc +
                ", stationDescCreator=" + stationDescCreator +
                ", stationDescCreateTime=" + stationDescCreateTime +
                ", recruitmentDesc=" + recruitmentDesc +
                ", recruitmentDescCreator=" + recruitmentDescCreator +
                ", recruitmentDescCreateTime=" + recruitmentDescCreateTime +
                ", createTime=" + createTime +
                ", creator=" + creator +
                "}";
    }
}
